package com.demo.websocket.domain;

import java.util.Date;

public class ResponseMessage {
	public String from;
	public String to;
	public String message;
	public Date date;

	public ResponseMessage() {
		super();
	}

	public ResponseMessage(String from, String to, String message, Date date) {
		super();
		this.from = from;
		this.to = to;
		this.message = message;
		this.date = date;
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public String getTo() {
		return to;
	}

	public void setTo(String to) {
		this.to = to;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	@Override
	public String toString() {
		return "ResponseMessage [from=" + from + ", to=" + to + ", message=" + message + ", date=" + date + "]";
	}

}
